package org.vison.wonfu.framework.test.admin.controller.res;

import lombok.Data;
import lombok.Getter;

@Data
public class LoginInfo {
    private String name;
    private String avatar;
    private String job;
    private String organization;
    private String location;
    private String email;
    private String introduction;
    private String personalWebsite;
    private String jobName;
    private String organizationName;
    private String locationName;
    private String phone;
    private String registrationDate;
    private String accountId;
    private Integer certification;
    private RoleType role;
    @Getter
    public enum  RoleType {
        EMPTY(""),
        ALL("*"),
        ADMIN("admin"),
        USER("user");
        private String value;
        RoleType(String value) {
            this.value = value;
        }
    }
}
